package com.hmall.search.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "thread-pool")
@Data
public class ThreadPoolProperties {
    int corePoolSize;
    int maximumPoolSize;
    int keepAlive;
    int queue;
}
